Delete Folder
AutomatR.Dropbox.Activities.DeleteFolder
The "Delete Folder" activity in AutomatR is part of the Dropbox.Folder activities package, facilitating the deletion of a folder in the user's Dropbox. This activity streamlines folder management tasks in Dropbox, enhancing the efficiency of automation workflows.
Properties
Name | Description |
---|---|
Input | |
Folder Path | Specifies the full path of the folder to be deleted from Dropbox (e.g., "Root/DeleteFolder"). String variables containing the folder path. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Delete Folder" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 5 seconds, enter "5". |
Output | |
Result | Returns true or false depending on the success of the folder deletion. Variables of type bool to store the operation result. |
How to Use
- Drag and drop the "Delete Folder" activity onto the workflow.
- Configure the properties by specifying the full path of the folder to be deleted from Dropbox.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to delete the specified folder from Dropbox.
Example
Consider an example where the "Delete Folder" activity is used to delete a folder named "DeleteFolder" in Dropbox:
Delete Folder:
Display Name: "Delete Folder"
Folder Path: "Root/DeleteFolder"
Result: isDeleteSuccessful
In this example, the activity deletes the "DeleteFolder" from the root directory in Dropbox. The result of the operation (success or failure) is stored in the Boolean variable "isDeleteSuccessful" for further handling in the workflow.